package com.ruoyi.coal.modules.coalpile.domain.vo;

public class uploadVo {
    String fileUrl;

    Integer id;

    Integer yardId;

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setYardId(Integer yardId) {
        this.yardId = yardId;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.ruoyi.coal.modules.coalpile.domain.vo.uploadVo))
            return false;
        com.ruoyi.coal.modules.coalpile.domain.vo.uploadVo other = (com.ruoyi.coal.modules.coalpile.domain.vo.uploadVo)o;
        if (!other.canEqual(this))
            return false;
        Object this$fileUrl = getFileUrl(), other$fileUrl = other.getFileUrl();
        if ((this$fileUrl == null) ? (other$fileUrl != null) : !this$fileUrl.equals(other$fileUrl))
            return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id))
            return false;
        Object this$yardId = getYardId(), other$yardId = other.getYardId();
        return !((this$yardId == null) ? (other$yardId != null) : !this$yardId.equals(other$yardId));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.ruoyi.coal.modules.coalpile.domain.vo.uploadVo;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $fileUrl = getFileUrl();
        result = result * 59 + (($fileUrl == null) ? 43 : $fileUrl.hashCode());
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $yardId = getYardId();
        return result * 59 + (($yardId == null) ? 43 : $yardId.hashCode());
    }

    public String toString() {
        return "uploadVo(fileUrl=" + getFileUrl() + ", id=" + getId() + ", yardId=" + getYardId() + ")";
    }

    public uploadVo(String fileUrl, Integer id, Integer yardId) {
        this.fileUrl = fileUrl;
        this.id = id;
        this.yardId = yardId;
    }

    public uploadVo() {}

    public String getFileUrl() {
        return this.fileUrl;
    }

    public Integer getId() {
        return this.id;
    }

    public Integer getYardId() {
        return this.yardId;
    }
}
